package com.qiyadeng.wechat.web;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import com.qiyadeng.wechat.roo.model.UserBinding;
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(locations = "classpath*:/META-INF/spring/applicationContext*.xml")
public class TestHello {

	@Test
	public void getUserBindingByWeChatId(){
		UserBinding userBind = UserBinding.getUserBindingByWeChatId("oOeiWjkpEzVuxXRfGQC1DCaTtyhU");
		System.out.println("hello userBind="+userBind);
	}
}
